From 4e421ad0f4e4286c81aae839f9e99e73718a64ae Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 5 Jan 2021 09:30:48 +0100 Subject: [PATCH] tools/libxenguest: handle more than 16T in precopy_stats total_written tracks the number of transferred dirty pages. Signed-off-by: Olaf Hering Acked-by: Wei Liu --- tools/include/xenguest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/include/xenguest.h b/tools/include/xenguest.h index a9984dbea5..775cf34c04 100644 --- a/tools/include/xenguest.h +++ b/tools/include/xenguest.h @@ -438,7 +438,7 @@ struct xenevtchn_handle; struct precopy_stats { unsigned int iteration; - unsigned int total_written; + unsigned long total_written; long dirty_count; /* -1 if unknown */ }; -- 2.30.2